package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CRecruitmentinfoDao;
import gov.ccswj.modules.ccbusiness.entity.CRecruitmentinfoEntity;
import gov.ccswj.modules.ccbusiness.service.CRecruitmentinfoService;



@Service("cRecruitmentinfoService")
public class CRecruitmentinfoServiceImpl implements CRecruitmentinfoService {
	@Autowired
	private CRecruitmentinfoDao cRecruitmentinfoDao;
	
	@Override
	public CRecruitmentinfoEntity queryObject(Integer id){
		return cRecruitmentinfoDao.queryObject(id);
	}
	
	@Override
	public List<CRecruitmentinfoEntity> queryList(Map<String, Object> map){
		return cRecruitmentinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cRecruitmentinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(CRecruitmentinfoEntity cRecruitmentinfo){
		cRecruitmentinfoDao.save(cRecruitmentinfo);
	}
	
	@Override
	public void update(CRecruitmentinfoEntity cRecruitmentinfo){
		cRecruitmentinfoDao.update(cRecruitmentinfo);
	}
	
	@Override
	public void delete(Integer id){
		cRecruitmentinfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cRecruitmentinfoDao.deleteBatch(ids);
	}
	@Override
	public void deleteByname(String entname) {
		cRecruitmentinfoDao.delete(entname);
		
	}
}
